package com.ruoyi.cat.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.QiniuPrivateUrl;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * h5活动对象 cat_activity_table
 * 
 * @author ruoyi
 * @date 2024-12-26
 */
public class CatActivityTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 活动标题 */
    @Excel(name = "活动标题")
    private String activityTitle;

    /** 活动开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 活动结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区 */
    @Excel(name = "区")
    private String area;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    /** 转发次数 */
    @Excel(name = "转发次数")
    private Long activityForwardNum;

    /** 奖品信息 */
    @Excel(name = "奖品信息")
    private String activityContent;

    /** 活动头部广告图 */
    @Excel(name = "活动头部广告图")
    @QiniuPrivateUrl(isRichText = false)
    private String activityBanner;

    /** 活动背景色 */
    @Excel(name = "活动背景色")
    private String activityBg;

    /** 活动列表窗口图 */
    @Excel(name = "活动列表窗口图")
    @QiniuPrivateUrl(isRichText = false)
    private String activityImg;

    /** 活动承办方名称 */
    @Excel(name = "活动承办方名称")
    private String activityCustomer;

    /** 营业时间 */
    @Excel(name = "营业时间")
    private String businessHours;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String activityAddress;

    /** 活动规则 */
    @Excel(name = "活动规则")
    private String activityRule;

    /** 活动摘要 */
    @Excel(name = "活动摘要")
    @QiniuPrivateUrl(isRichText = true)
    private String wXSummary;

    /** 礼品总份数 */
    @Excel(name = "礼品总份数")
    private Long giftTotal;

    /** 首次机会 */
    @Excel(name = "首次机会")
    private Long firstChance;

    /** 邀请机会 */
    @Excel(name = "邀请机会")
    private Long inviteChance;

    /** 缩略图 */
    @Excel(name = "缩略图")
    @QiniuPrivateUrl(isRichText = false)
    private String thumbnail;

    /** 微信封面图 */
    @Excel(name = "微信封面图")
    @QiniuPrivateUrl(isRichText = false)
    private String wXImg;

    /** 小程序端发布的需后台审核
1：待审；2：审核通过；3：下架；0：正常展示 */
    @Excel(name = "小程序端发布的需后台审核1：待审；2：审核通过；3：下架；0：正常展示")
    private String articleExamine;

    /** 用户信息表外键(备用) */
    @Excel(name = "用户信息表外键(备用)")
    private Long userId;

    @Excel(name = "商家电话")
    private String activityPhone;



    private BigDecimal activityBaseCost;

    private List<CatChances> chancesList;

    private Long quantity;

    private String activityState;

    private String phone;


    //参与人数
    private Long participate;
   //访问人数
    private Long visitor;

    //中奖人数
    private Long winningLottery;

    private List<CatWinningRecords> catWinningRecords;

    private String userArea;

    private Long numberVisitors;

    public Long getNumberVisitors() {
        return numberVisitors;
    }

    public void setNumberVisitors(Long numberVisitors) {
        this.numberVisitors = numberVisitors;
    }

    public String getUserArea() {
        return userArea;
    }

    public void setUserArea(String userArea) {
        this.userArea = userArea;
    }

    public List<CatWinningRecords> getCatWinningRecords() {
        return catWinningRecords;
    }

    public void setCatWinningRecords(List<CatWinningRecords> catWinningRecords) {
        this.catWinningRecords = catWinningRecords;
    }

    public Long getWinningLottery() {
        return winningLottery;
    }

    public void setWinningLottery(Long winningLottery) {
        this.winningLottery = winningLottery;
    }

    public Long getVisitor() {
        return visitor;
    }

    public void setVisitor(Long visitor) {
        this.visitor = visitor;
    }

    public Long getParticipate() {
        return participate;
    }

    public void setParticipate(Long participate) {
        this.participate = participate;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getActivityState() {
        return activityState;
    }

    public void setActivityState(String activityState) {
        this.activityState = activityState;
    }

    public Long getQuantity() {
        return quantity;
    }

    public void setQuantity(Long quantity) {
        this.quantity = quantity;
    }

    public BigDecimal getActivityBaseCost() {
        return activityBaseCost;
    }

    public void setActivityBaseCost(BigDecimal activityBaseCost) {
        this.activityBaseCost = activityBaseCost;
    }

    public String getActivityPhone() {
        return activityPhone;
    }

    public void setActivityPhone(String activityPhone) {
        this.activityPhone = activityPhone;
    }

    public List<CatChances> getChancesList() {
        return chancesList;
    }

    public void setChancesList(List<CatChances> chancesList) {
        this.chancesList = chancesList;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setActivityTitle(String activityTitle) 
    {
        this.activityTitle = activityTitle;
    }

    public String getActivityTitle() 
    {
        return activityTitle;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }
    public void setActivityForwardNum(Long activityForwardNum) 
    {
        this.activityForwardNum = activityForwardNum;
    }

    public Long getActivityForwardNum() 
    {
        return activityForwardNum;
    }
    public void setActivityContent(String activityContent) 
    {
        this.activityContent = activityContent;
    }

    public String getActivityContent() 
    {
        return activityContent;
    }
    public void setActivityBanner(String activityBanner) 
    {
        this.activityBanner = activityBanner;
    }

    public String getActivityBanner() 
    {
        return activityBanner;
    }
    public void setActivityBg(String activityBg) 
    {
        this.activityBg = activityBg;
    }

    public String getActivityBg() 
    {
        return activityBg;
    }
    public void setActivityImg(String activityImg) 
    {
        this.activityImg = activityImg;
    }

    public String getActivityImg() 
    {
        return activityImg;
    }
    public void setActivityCustomer(String activityCustomer) 
    {
        this.activityCustomer = activityCustomer;
    }

    public String getActivityCustomer() 
    {
        return activityCustomer;
    }
    public void setBusinessHours(String businessHours) 
    {
        this.businessHours = businessHours;
    }

    public String getBusinessHours() 
    {
        return businessHours;
    }
    public void setActivityAddress(String activityAddress) 
    {
        this.activityAddress = activityAddress;
    }

    public String getActivityAddress() 
    {
        return activityAddress;
    }
    public void setActivityRule(String activityRule) 
    {
        this.activityRule = activityRule;
    }

    public String getActivityRule() 
    {
        return activityRule;
    }
    public void setwXSummary(String wXSummary) 
    {
        this.wXSummary = wXSummary;
    }

    public String getwXSummary() 
    {
        return wXSummary;
    }
    public void setGiftTotal(Long giftTotal) 
    {
        this.giftTotal = giftTotal;
    }

    public Long getGiftTotal() 
    {
        return giftTotal;
    }
    public void setFirstChance(Long firstChance) 
    {
        this.firstChance = firstChance;
    }

    public Long getFirstChance() 
    {
        return firstChance;
    }
    public void setInviteChance(Long inviteChance) 
    {
        this.inviteChance = inviteChance;
    }

    public Long getInviteChance() 
    {
        return inviteChance;
    }
    public void setThumbnail(String thumbnail) 
    {
        this.thumbnail = thumbnail;
    }

    public String getThumbnail() 
    {
        return thumbnail;
    }
    public void setwXImg(String wXImg) 
    {
        this.wXImg = wXImg;
    }

    public String getwXImg() 
    {
        return wXImg;
    }
    public void setArticleExamine(String articleExamine) 
    {
        this.articleExamine = articleExamine;
    }

    public String getArticleExamine() 
    {
        return articleExamine;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("activityTitle", getActivityTitle())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("province", getProvince())
            .append("city", getCity())
            .append("area", getArea())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("activityForwardNum", getActivityForwardNum())
            .append("activityContent", getActivityContent())
            .append("activityBanner", getActivityBanner())
            .append("activityBg", getActivityBg())
            .append("activityImg", getActivityImg())
            .append("activityCustomer", getActivityCustomer())
            .append("activityCustomer", getActivityCustomer())
            .append("businessHours", getBusinessHours())
            .append("activityAddress", getActivityAddress())
            .append("activityRule", getActivityRule())
            .append("wXSummary", getwXSummary())
            .append("giftTotal", getGiftTotal())
            .append("firstChance", getFirstChance())
            .append("inviteChance", getInviteChance())
            .append("thumbnail", getThumbnail())
            .append("wXImg", getwXImg())
            .append("articleExamine", getArticleExamine())
            .append("userId", getUserId())
            .toString();
    }
}
